package com.wawayaya.parentteacher.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.TextView;

import com.wawayaya.parentteacher.widget.BorderImageView;

import wawayaya.kids_iread.R;

/**
 * Created by wang_qian on 2015/12/7.
 */
public class TpBookCoverHolder extends RecyclerView.ViewHolder {

    public BorderImageView mIvCover = null;
    public CheckBox  mChkChoose = null;

    public TextView mTvName = null;


    public TpBookCoverHolder(View v) {
        super(v);
        try {
            mIvCover = (BorderImageView) v.findViewById(R.id.iv_bookcover);
            mTvName = (TextView) v.findViewById(R.id.tv_bookname);
            mChkChoose = (CheckBox) v.findViewById(R.id.chk_choose);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
